
const mongoose = require('mongoose')
const { Schema } = mongoose

// 字段
const ItemSchema = new Schema({
    name: {type: String},
    icon: {type: String},
})

// 模型
const ItemModel = mongoose.model('Item', ItemSchema)

// 导出
module.exports = ItemModel